
package com.hlkj.pay.dto.order;

import com.hlkj.pay.infrastructure.model.order.OrderStatisticsDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 订单查询页统计
 * 
 * @TableName t_statistics
 */
@Data
public class OrderPageStatisticsDto {

    /**
     * 订单总数
     */
    private Integer sumOrderCount = 0;

    /**
     * 订单金额
     */
    private BigDecimal sumOrderAmount = BigDecimal.valueOf(0);

    /**
     * 平台手续费
     */
    private BigDecimal sumFeeAmount = BigDecimal.valueOf(0);

    /**
     * 机构手续费
     */
    private BigDecimal sumChannelFeeAmount = BigDecimal.valueOf(0);

    /**
     * 结算金额
     */
    private BigDecimal sumSettlementAmount = BigDecimal.valueOf(0);

    /**
     * 退款笔数
     */
    private Integer refundCount = 0;

    /**
     * 退款金额
     */
    private BigDecimal refundAmount = BigDecimal.valueOf(0);

}
